package com.dalong.springboot.dao;

import com.dalong.springboot.bean.XwlRolePermission;
import com.dalong.springboot.bean.XwlRolePermissionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface XwlRolePermissionMapper {
    long countByExample(XwlRolePermissionExample example);

    int deleteByExample(XwlRolePermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(XwlRolePermission record);

    int insertSelective(XwlRolePermission record);

    List<XwlRolePermission> selectByExample(XwlRolePermissionExample example);


    XwlRolePermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") XwlRolePermission record, @Param("example") XwlRolePermissionExample example);

    int updateByExample(@Param("record") XwlRolePermission record, @Param("example") XwlRolePermissionExample example);

    int updateByPrimaryKeySelective(XwlRolePermission record);

    int updateByPrimaryKey(XwlRolePermission record);
}